package com.overseasShopping.Base.DAO;


import java.util.List;

import com.overseasShopping.pojo.User;

public interface UserDAO extends BaseDAO<User>{
	//账号登陆,获取登录用户信息
	public User login(String id,String password);
	//根据id获取用户信息
	public User getUser(String id);
	//获取黑名单列表
	public List<User> getBlackFriends(String id);
	//获取好友列表
	public List<User> getFriends(String id);
	
	public void addFriend(String uid,String fid);
	
	public void deleteFriend(String uid,String fid);
	
	public void addBlackList(String uid,String bid);
	
	public void deleteBlackUser(String uid,String bid);
	

}
